﻿using System.Configuration;
using Luminji.Core.Data;
using Luminji.ExamWeb.Infrastructure.DataAccess.Impl.SqlServer;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using Luminji.ExamWeb.Core.Domain.Model;
using System.Collections.Generic;

namespace IntegrationTests.DataAccess.Impl.SqlServer
{
    
    
    /// <summary>
    ///This is a test class for PaperTemplateRepositoryTest and is intended
    ///to contain all PaperTemplateRepositoryTest Unit Tests
    ///</summary>
    [TestClass()]
    public class PaperTemplateRepositoryTest
    {

        [TestMethod()]
        public void GetAllPaperTemplatesWithPartsTest()
        {
            
            SqlHelper.ConnectionString = ConfigurationManager.AppSettings["TestConn"];
            PaperTemplateRepository target = new PaperTemplateRepository(); // TODO: Initialize to an appropriate value
            IList<PaperTemplate> expected = null; // TODO: Initialize to an appropriate value
            IList<PaperTemplate> actual;
            actual = target.GetAllPaperTemplatesWithParts();
        }

        [TestMethod()]
        public void Get1()
        {

            SqlHelper.ConnectionString = ConfigurationManager.AppSettings["TestConn"];
            PaperTemplateRepository target = new PaperTemplateRepository(); // TODO: Initialize to an appropriate value
            IList<PaperTemplate> expected = null; // TODO: Initialize to an appropriate value
            IList<PaperTemplate> actual;
            actual = target.GetAllPaperTemplatesWithParts();
        }
    }
}
